package com.leon.controller;

import com.jfinal.core.ActionKey;
import com.jfinal.core.Controller;
import com.leon.ext.render.CaptchaRender;

public class HomeController extends Controller {

	@ActionKey("/")
	public void index() {
		render("/index.html");
	}

	@ActionKey("/image")
	public void image() {
		render(new CaptchaRender("key"));
	}
}
